<?xml version="1.0" encoding="utf-8"?>
<hibernate-mapping assembly="SimCMS.Model" namespace="SimCMS.Model" xmlns="urn:nhibernate-mapping-2.2">
  <class name="Simadminpanel" table="Sim_admin_panel" lazy="true" >
    <id name="Id" >
      <generator class="identity" />
    </id>
    <property name="UserId" insert="false"  update="false">
      <column name="UserId" sql-type="int" not-null="false" />
    </property>
    <property name="Name">
      <column name="Name" sql-type="nvarchar" not-null="false" />
    </property>
    <property name="Url">
      <column name="Url" sql-type="nvarchar" not-null="false" />
    </property>
    <property name="MenuDatetime">
      <column name="MenuDatetime" sql-type="datetime" not-null="false" />
    </property>
    <many-to-one name="Simadmin" column="UserId" not-null="true"/>
  </class>
</hibernate-mapping>